<!--左侧导航-->
<aside class="lyear-layout-sidebar">

    <!-- logo -->
    <div id="logo" class="sidebar-header">
        <a href="{{url('admin/index')}}"><img src="{{asset('static/images/logo-sidebar_1.png')}}" title="后台管理系统" alt="后台管理系统" /></a>
    </div>
    <div class="lyear-layout-sidebar-scroll">
        <nav class="sidebar-main">
            <ul class="nav nav-drawer">
                @isset($data['menu_list'])
                    @foreach ($data['menu_list'] as $k=>$v)
                    <li class="nav-item <?php if($k == 0){ ?>active<?php } ?>">
                        <a class="multitabs" id="{{$v['id']}}"><i class="mdi <?php if(!empty($v['icon'])){ ?>{{$v['icon']}}<?php } ?>"></i> <span>{{$v['menu_name']}}</span></a>
                    </li>
                    @endforeach
                @endisset
            </ul>
        </nav>
        <nav class="sidebar-right">
            @isset($data['menu_list'])
            @foreach ($data['menu_list'] as $k=>$v)
                <ul class="nav nav-drawer" id="child_{{$v['id']}}" pid="{{$v['id']}}" <?php if($k == 0){ ?>style="display:block;"<?php }else{ ?>style="display:none;"<?php }?>>
                    @isset($v['child'])
                    @foreach ($v['child'] as $ck=>$cv)
                    <li class="nav-item">
                        <a class="multitabs" href="{{$cv['route']}}"><span>{{$cv['menu_name']}}</span></a>
                    </li>
                    @endforeach
                    @endisset
                </ul>
            @endforeach
            @endisset
        </nav>
    </div>
</aside>
<!--End 左侧导航-->